package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.BookInfoBajDao;
import io.wdb.modules.generator.generator.entity.BookInfoBajEntity;
import io.wdb.modules.generator.generator.service.BookInfoBajService;



@Service("bookInfoBajService")
public class BookInfoBajServiceImpl implements BookInfoBajService {
	@Autowired
	private BookInfoBajDao bookInfoBajDao;
	
	@Override
	public BookInfoBajEntity queryObject(String isbnNo){
		return bookInfoBajDao.queryObject(isbnNo);
	}
	
	@Override
	public List<BookInfoBajEntity> queryList(Map<String, Object> map){
		return bookInfoBajDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bookInfoBajDao.queryTotal(map);
	}
	
	@Override
	public void save(BookInfoBajEntity bookInfoBaj){
		bookInfoBajDao.save(bookInfoBaj);
	}
	
	@Override
	public void update(BookInfoBajEntity bookInfoBaj){
		bookInfoBajDao.update(bookInfoBaj);
	}
	
	@Override
	public void delete(String isbnNo){
		bookInfoBajDao.delete(isbnNo);
	}
	
	@Override
	public void deleteBatch(String[] isbnNos){
		bookInfoBajDao.deleteBatch(isbnNos);
	}
	
}
